#include <iostream>
using namespace std;
int main()
{
	double x;
	cin >> x;
	long long num = (long long)x;
	cout << num << endl;
	return 0;
}
